home *** CD-ROM | disk | FTP | other *** search
- echo on
- cls
- rem RBBS File Maintenance Batch File
- rem .
- rem from Dr. Bob's Utilities
- rem .
- rem .
- rem call with MAINTAIN ALPHADIR DATEDIR
- rem where ALPHADIR is the name of your master alphabetical dir
- rem and DATEDIR is the name of your master date-sorted dir
- rem .
- rem e.g. MAINTAIN DIR90 DIR91
- rem .
- pause
- exp dir99
- copy dir99 dir99.bak
- gethed dir99
- copy dir99.hed dir0
- del dir99.hed
- strew rbbs
- sysrta dir10 dir20 dir30 ...put the names of your RBBS sub-directories here
- dir %1
- pause ABORT IF SIZE of %1 is > 50,000
- sysrta %1
- dir %2
- pause ABORT IF SIZE of %2 is > 50,000
- sysrtrd %2
- rename dir0 dir99
- pause About to delete dir99.bak (abort with Ctrl-C)
- del dir99.bak
- rename dir0 dir99
- rtrd %2
- rename dir0 dir99
- pause